// CommRS232.h: interface for the CCommRS232 class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_COMMRS232_H__5BCCB25A_E429_4F6B_A3A1_B882534857EA__INCLUDED_)
#define AFX_COMMRS232_H__5BCCB25A_E429_4F6B_A3A1_B882534857EA__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class CCommRS232  
{
public:
	int Close();
	int Open();
	int Write(unsigned char *strSendBuffer,unsigned int len);
	int Read(unsigned char *strRecvBuffer,unsigned int len);
	int Read(CString &str);
	CCommRS232();
	virtual ~CCommRS232();
public:
	HANDLE m_hComm;
};

#endif // !defined(AFX_COMMRS232_H__5BCCB25A_E429_4F6B_A3A1_B882534857EA__INCLUDED_)
